package cc.facesign.admin.service;

import cc.facesign.admin.bean.vo.UserVo;
import cc.facesign.admin.bean.xls.AddConfUserXls;
import cc.facesign.admin.bean.xls.AddDeptUserXls;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

public interface XlsService {

    List<AddDeptUserXls> addUserForDept(String deptId, MultipartFile file,  List<MultipartFile> pic);

    List<AddConfUserXls> addUserForConf(MultipartFile file, String confId);

    /**
     * 导出会议中的用户
     * @return url
     */
    String exportUserForConf(HttpServletResponse response, List<UserVo> records) throws IOException;
}
